package com.zhiyou.app.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zhiyou.app.pojo.enums.TaskStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jonathan.z
 * @since 2025-07-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("id_task")
public class TaskEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    private String orderNum;

    /**
     * 任务描述
     */
    private String taskDesc;

    /**
     * 任务类型
     */
    private String taskType;

    /**
     * 订单发起人ID
     */
    private Integer userId;

    /**
     * 任务内容json
     */
    private String taskResult;

    /**
     * 任务PID
     */
    private String taskPid;

    /**
     * 任务错误信息
     */
    private String taskError;

    /**
     * 任务状态
     */
    private TaskStatusEnum taskStatus;


}
